import requests

cookies = {
    'JSESSIONID': '10417D1DD6DA83AD55199CF38406B8B8',
}

headers = {
    'Accept': 'application/json',
    'Accept-Language': 'zh-CN,zh;q=0.9',
    'Connection': 'keep-alive',
    'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
    'Origin': 'http://10.174.166.48:8082',
    'Referer': 'http://10.174.166.48:8082/phis/app/svc/flw/chronic/update/1855142',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36',
    'X-Requested-With': 'XMLHttpRequest',
    # 'Cookie': 'JSESSIONID=10417D1DD6DA83AD55199CF38406B8B8',
}

params = {
    'flwId': '1caf7bfc-57dc-4057-a435-e3957e789714',
}

data = {
    'flwId': '1caf7bfc-57dc-4057-a435-e3957e789714',
    '_dch': '1756276734374',
}

response = requests.post(
    'http://10.174.166.48:8082/phis/app/svc/flw/take/med',
    params=params,
    cookies=cookies,
    headers=headers,
    data=data,
    verify=False,
)
